<div class="main">
  <div class="type" *ngFor="let type of types" (click)="goList(type)">
    <div class="title">
      <h3>{{type.name}}</h3>
    </div>
    <div class="desc">
      {{type.desc}}
    </div>
    <div class="foot">
      <div class="nums">共计{{type.nums}}篇文章</div>
    </div>
  </div>
</div>
